namespace KangaUtils
{
    /// <summary>
    /// A nice description of SecurityUtils goes here.
    /// 
    /// Version: $Id: SecurityUtils.cs,v 1.1 2004/03/08 23:57:01 jperrin Exp $
    /// 
    /// Date: 
    /// Copyright: 2004, Kanga Communications, Calgary, Alberta, Canada. 
    /// </summary>
    public class SecurityUtils
    {
        #region Private

        private static PasswordGenerator pwGen = new PasswordGenerator();

        #endregion

        public SecurityUtils()
        {
        }

        #region Methods

        public static string GenerateRandomPassword(int length)
        {
            string password;

            pwGen.Length = length;
            pwGen.OthersIncluded = true;
            pwGen.Template = "AaaaaaNO";
            pwGen.generatePassword();
            password = pwGen.Password;

            return password;
        }

        #endregion

        #region Properties

        #endregion
    }
}